import request from "@/common/request";

export function getList(params) {
    return request({
        url: "/apikanke/classcourse/getList",
        method: "get",
        params
    });
}

export function sortFolder(params) {
    return request({
        url: "/apikanke/classcourse/sortFolder",
        method: "post",
        params
    });
}

export function createFolder(params) {
    return request({
        url: "/apikanke/classcourse/createFolder",
        method: "post",
        params
    });
}

export function deleteCourse(params) {
    return request({
        url: "/apikanke/classcourse/deleteCourse",
        method: "post",
        params
    });
}

export function deleteFolder(params) {
    return request({
        url: "/apikanke/classcourse/deleteFolder",
        method: "post",
        params
    });
}

export function getClassTopFolder(params) {
    return request({
        url: "/apikanke/classcourse/getClassTopFolder",
        method: "get",
        params
    });
}
export function addCourse(params) {
    return request({
        url: "/apikanke/classcourse/addCourse",
        method: "post",
        params
    });
}
